
public class TestPractice {

	public static void main(String[] args) {
		Cylinder c = new Cylinder();
		System.out.println(c.getBase());
		System.out.println(c.getVolume());
		
		System.out.println("===========================");
		
		c.setHeight(2);
		System.out.println(c.getHeight());
		System.out.println(c.getVolume());
		
		System.out.println("===========================");
		
		c.setBase(new Circle(2.0, "green"));
		System.out.println(c.getBase());
		System.out.println(c.getVolume());
	}

}
